package com.aishuang.order.client;

import com.aishuang.order.config.DefaultFeignConfiguration;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Title: UserClient
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/3/7 11:08
 */
// 找到调用的服务名称
// @FeignClient("userservice")
// @FeignClient(value = "userservice",configuration = DefaultFeignConfiguration.class)
public interface UserClient {
//    @GetMapping("/user/{id}")  // 直接访问 userservice 服务器中的 queryById controller
//    User queryById(@PathVariable("id") Long id);

}
